/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.toools.gwt.wmc.client.application;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.Collection;
import org.toools.gwt.widget.client.bc.TooolsServiceAsync;
import org.toools.gwt.wmc.jpa.Application;

/**
 *
 * @author manuel
 */
public interface ApplicationServiceAsync extends TooolsServiceAsync{

    void getApplicationByID(Integer id, AsyncCallback<Application> callback);
    void getApplications(AsyncCallback<Collection<Application>> callback);

    void create( Application a, AsyncCallback<Application> callback );
    void update( Application a, AsyncCallback<Boolean> callback );
    void delete( Application a, AsyncCallback<Boolean> callback );

}
